package com.shuhe.domain.mxgc;

public class Cqlb {

    private String id;
    private String batch_id;
    private String datasource_id;
    private String table_name;
    private String task_name;
    private String task_status;
    private String run_cron;
    private String cron_type;
    private String timeadd_column;
    private String timecolumn_format;
    private String start_time;
    private String new_time;
    private String modify_time;
    private String desttable_name;
    private String task_type;
    private String user_name;
    private String timeadd_interval;
    private String no_task_time_begin;
    private String no_task_time_end;

    private String db_type;
    private String db_ip;
    private String db_port;
    private String db_name;
    private String db_user;
    private String db_password;
    private String schema_name;
    private String cronFun;
    private String full_table_name;
    private String dest_schema_name;
    private String dest_table_name;
    private String ctime;

    public String getCtime() {
        return ctime;
    }

    public void setCtime(String ctime) {
        this.ctime = ctime;
    }

    public String getDest_table_name() {
        return dest_table_name;
    }

    public void setDest_table_name(String dest_table_name) {
        this.dest_table_name = dest_table_name;
    }

    public String getDest_schema_name() {
        return dest_schema_name;
    }

    public void setDest_schema_name(String dest_schema_name) {
        this.dest_schema_name = dest_schema_name;
    }

    public String getFull_table_name() {
        return full_table_name;
    }

    public void setFull_table_name(String full_table_name) {
        this.full_table_name = full_table_name;
    }

    public String getCronFun() {
        return cronFun;
    }

    public void setCronFun(String cronFun) {
        this.cronFun = cronFun;
    }

    public String getDb_type() {
        return db_type;
    }

    public void setDb_type(String db_type) {
        this.db_type = db_type;
    }

    public String getDb_ip() {
        return db_ip;
    }

    public void setDb_ip(String db_ip) {
        this.db_ip = db_ip;
    }

    public String getDb_port() {
        return db_port;
    }

    public void setDb_port(String db_port) {
        this.db_port = db_port;
    }

    public String getDb_name() {
        return db_name;
    }

    public void setDb_name(String db_name) {
        this.db_name = db_name;
    }

    public String getDb_user() {
        return db_user;
    }

    public void setDb_user(String db_user) {
        this.db_user = db_user;
    }

    public String getDb_password() {
        return db_password;
    }

    public void setDb_password(String db_password) {
        this.db_password = db_password;
    }

    public String getSchema_name() {
        return schema_name;
    }

    public void setSchema_name(String schema_name) {
        this.schema_name = schema_name;
    }


    public String getTimeadd_interval() {
        if (timeadd_interval == null || timeadd_interval.equals("")) {
            timeadd_interval = "0";
        }
        return timeadd_interval;
    }

    public void setTimeadd_interval(String timeadd_interval) {
        this.timeadd_interval = timeadd_interval;
    }

    public String getStart_time() {
        if (start_time == null || start_time.length() == 0)
            start_time = "2000-01-01 00:00:00";
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBatch_id() {
        return batch_id;
    }

    public void setBatch_id(String batch_id) {
        this.batch_id = batch_id;
    }

    public String getDatasource_id() {
        return datasource_id;
    }

    public void setDatasource_id(String datasource_id) {
        this.datasource_id = datasource_id;
    }

    public String getTable_name() {
        return table_name;
    }

    public void setTable_name(String table_name) {
        this.table_name = table_name;
    }

    public String getTask_name() {
        return task_name;
    }

    public void setTask_name(String task_name) {
        this.task_name = task_name;
    }

    public String getTask_status() {
        return task_status;
    }

    public void setTask_status(String task_status) {
        this.task_status = task_status;
    }

    public String getRun_cron() {
        return run_cron;
    }

    public void setRun_cron(String run_cron) {
        this.run_cron = run_cron;
    }

    public String getCron_type() {
        return cron_type;
    }

    public void setCron_type(String cron_type) {
        this.cron_type = cron_type;
    }

    public String getTimeadd_column() {
        return timeadd_column;
    }

    public void setTimeadd_column(String timeadd_column) {
        this.timeadd_column = timeadd_column;
    }

    public String getTimecolumn_format() {
        return timecolumn_format;
    }

    public void setTimecolumn_Format(String timecolumn_format) {
        this.timecolumn_format = timecolumn_format;
    }

    public String getNew_time() {
        return new_time;
    }

    public void setNew_time(String new_time) {
        this.new_time = new_time;
    }

    public String getModify_time() {
        return modify_time;
    }

    public void setModify_time(String modify_time) {
        this.modify_time = modify_time;
    }

    public String getDesttable_name() {
        return desttable_name;

    }

    public void setDesttable_name(String desttable_name) {
        this.desttable_name = desttable_name;
    }

    public String getTask_type() {
        return task_type;
    }

    public void setTask_type(String task_type) {
        this.task_type = task_type;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getNo_task_time_begin() {
        return no_task_time_begin;
    }

    public void setNo_task_time_begin(String no_task_time_begin) {
        this.no_task_time_begin = no_task_time_begin;
    }

    public String getNo_task_time_end() {
        return no_task_time_end;
    }

    public void setNo_task_time_end(String no_task_time_end) {
        this.no_task_time_end = no_task_time_end;
    }

    public String toString() {
        return "id:" + id + " batch_id:" + batch_id + " datasource_id:" + datasource_id + " table_name:" + table_name
                + " task_name:" + task_name + " task_status:" + task_status + " run_cron:" + run_cron + " cron_type:"
                + cron_type + " timeadd_column:" + timeadd_column + " timecolumn_Format:" + timecolumn_format
                + " start_time:" + start_time + " new_time:" + new_time + " modify_time:" + modify_time + " desttable_name:"
                + desttable_name + " task_type:" + task_type + " user_name:" + user_name + " timeadd_interval:"
                + timeadd_interval + " no_task_time_begin:" + no_task_time_begin + " no_task_time_end:" + no_task_time_end
                + " db_type:" + db_type + " db_ip:" + db_ip + " db_port:" + db_port + " db_name:" + db_name + " db_user:"
                + db_user + " db_password:" + db_password + " schema_name:" + schema_name;
    }

}

